<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8" import="org.swim.web.utils.*"%>
<div class="navbar navbar-static-top" style="margin-bottom: 20px;">
	<div class="navbar-inner">
		<div class="container">
			<div class="row">
				<div class="span8">
					<div class="span1" style="margin-left: 0px;">
						<a href="<%=SwimConst.Url.Servlet.HOME%>"><img
							src="<%=SwimConst.Url.WEBCONTENT%>/img/logo/75x37.png"
							style="margin-top: 1px"></a>
					</div>
					<%
						if (!SwimUtils.isLogged(request)) {
					%>
					<%@include file="search-light.jsp"%>
					<%
						} else {
					%>
					<%@include file="search-advanced.jsp"%>
					<%
						}
					%>
				</div>
				<div class="span4">
					<%
						if (SwimUtils.isLogged(request)) {
					%>
					<!-- 						start shortcuts -->
					<ul class="nav">
						<li><a
							href="<%=SwimConst.Url.Servlet.PROFILE%>?a=<%=Action.VIEWPROFILE.name().toLowerCase()%>"><i
								class="icon-user"></i> Profile</a></li>
						<li><a href="<%=SwimConst.Url.Servlet.COLLABORATION%>"><i class=" icon-envelope"></i>
								Collaborations</a></li>
						<li><a href="<%=SwimConst.Url.Servlet.HOME%>?a=<%=Action.SIGNOUT.name().toLowerCase()%>"><i class=" icon-off"></i></a></li>
					</ul>
					<!-- 						end shortcuts -->
					<%
						}
					%>
				</div>
			</div>
		</div>
	</div>
</div>



<%-- 									<input id="pippo" name="<%=Search.QUERY%>" type="text" --%>
<!-- 										placeholder="" autocomplete="off" data-provide="typeahead" -->
<%-- 										data-url="<%=SwimConst.Url.Servlet.SEARCH%>?<%=Search.Type.AUTOCOMPLETE.request()%>" --%>
<%-- 										data-extra="<%=Search.WHAT%>" style="width: 100%;"> --%>